package com.rc.saas.mini.model.order;
import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.rc.saas.mini.common.base.BaseModel;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * @Description 
 * @Author  
 * @Date: 2022-04-24
 */

@ApiModel(value=" order_comment ", description=" SOC未上来之前，预先保存订单信息 ")
public class OrderComment extends BaseModel{ 

    @ApiModelProperty(value = "ID")
    private Long commentId;
 
    @ApiModelProperty(value = "运营商（有2重角色，跟第三方正向互联时作为运营商，反向互联时作为设备方）")
    private String tenantCode;
 
    @ApiModelProperty(value = "运营商的分销商")
    private String tenantOperatorCode;
 
    @ApiModelProperty(value = "SAAS互联互通运营商（设备商）")
    private String hlhtTenantCode;
 
    @ApiModelProperty(value = "互联互通运营商标识（OperatorID）,关联hlht_operator表（有2重角色，反向时是运营商，正向时是设备商）")
    private String hlhtOperatorId;
 
    @ApiModelProperty(value = "会员ID")
    private Long memberId;
 
    @ApiModelProperty(value = "桩群ID")
    private Long elecStationId;
 
    @ApiModelProperty(value = "桩ID")
    private Long elecPileId;
 
    @ApiModelProperty(value = "枪ID")
    private Long elecGunId;
 
    @ApiModelProperty(value = "支付的账户类型 0个人钱包 1企业钱包 2共享余额 3先付后退 4支付分钱包 默认0")
    private String accountType;
 
    @ApiModelProperty(value = "内部订单号")
    private String orderNum;
 
    @ApiModelProperty(value = "外部订单号")
    private String outOrderNum;
 
    @ApiModelProperty(value = "互联时对方传过来的司机ID,目前只有曹操在用")
    private String driverId;
 
    @ApiModelProperty(value = "该订单充电时车牌号")
    private String carNum;
 
    @ApiModelProperty(value = "车辆VIN码")
    private String carVin;
 
    @ApiModelProperty(value = "该订单充电时车型")
    private String carType;
 
    @ApiModelProperty(value = "各个时段电费费列表")
    private String elecPrices;
 
    @ApiModelProperty(value = "各个时段服务费列表")
    private String servicePrices;
 
    @ApiModelProperty(value = "是否优先使用优惠卷,0使用 1不使用,默认0")
    private String ticketUsingType;
 
    @ApiModelProperty(value = "订单来源 0 公众号 1 APP  2小程序 3.刷卡 4.VIN码充电   9.第三方API  默认0")
    private String orderSource;
 
    @ApiModelProperty(value = "启动方式 0 一般 1 刷卡 2 VIN码启动 3先付后退 4微信支付分 5.支付分(先充后付) 默认0 9其他")
    private String startType;
 
    @ApiModelProperty(value = "互联互通订单类型以tenant_code为基准,0为自主订单 1反向对接订单 2正向对接订单 3.正向内部外联订单, 默认0")
    private String hlhtOrderType;
 
    @ApiModelProperty(value = "订单状态,0:用户请求启动 1:充电中(收到启动回调) 2:用户请求停止/其它原因停止 3:已停止(收到停止回调) 4:已结算(收到结算推送) 5:挂单(2分钟内未收到停止回调或结算推送) 6:无效订单")
    private String hlhtOrderStatus;
 
    @ApiModelProperty(value = "null")
    private String createdBy;
 
    @ApiModelProperty(value = "null")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createdTime;
 
    @ApiModelProperty(value = "null")
    private String lastUpdatedBy;
 
    @ApiModelProperty(value = "null")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date lastUpdatedTime;

    //扩展属性
    private Long orderId;
    private Date startTime; //订单启动时间

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Long getCommentId() {
        return commentId;
    }

    public void setCommentId(Long commentId) {
        this.commentId = commentId;
    }

    public String getTenantCode() {
        return tenantCode;
    }

    public void setTenantCode(String tenantCode) {
        this.tenantCode = tenantCode;
    }

    public String getTenantOperatorCode() {
        return tenantOperatorCode;
    }

    public void setTenantOperatorCode(String tenantOperatorCode) {
        this.tenantOperatorCode = tenantOperatorCode;
    }

    public String getHlhtTenantCode() {
        return hlhtTenantCode;
    }

    public void setHlhtTenantCode(String hlhtTenantCode) {
        this.hlhtTenantCode = hlhtTenantCode;
    }

    public String getHlhtOperatorId() {
        return hlhtOperatorId;
    }

    public void setHlhtOperatorId(String hlhtOperatorId) {
        this.hlhtOperatorId = hlhtOperatorId;
    }

    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    public Long getElecStationId() {
        return elecStationId;
    }

    public void setElecStationId(Long elecStationId) {
        this.elecStationId = elecStationId;
    }

    public Long getElecPileId() {
        return elecPileId;
    }

    public void setElecPileId(Long elecPileId) {
        this.elecPileId = elecPileId;
    }

    public Long getElecGunId() {
        return elecGunId;
    }

    public void setElecGunId(Long elecGunId) {
        this.elecGunId = elecGunId;
    }

    public String getAccountType() {
        return accountType;
    }

    public void setAccountType(String accountType) {
        this.accountType = accountType;
    }

    public String getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(String orderNum) {
        this.orderNum = orderNum;
    }

    public String getOutOrderNum() {
        return outOrderNum;
    }

    public void setOutOrderNum(String outOrderNum) {
        this.outOrderNum = outOrderNum;
    }

    public String getDriverId() {
        return driverId;
    }

    public void setDriverId(String driverId) {
        this.driverId = driverId;
    }

    public String getCarNum() {
        return carNum;
    }

    public void setCarNum(String carNum) {
        this.carNum = carNum;
    }

    public String getCarVin() {
        return carVin;
    }

    public void setCarVin(String carVin) {
        this.carVin = carVin;
    }

    public String getCarType() {
        return carType;
    }

    public void setCarType(String carType) {
        this.carType = carType;
    }

    public String getElecPrices() {
        return elecPrices;
    }

    public void setElecPrices(String elecPrices) {
        this.elecPrices = elecPrices;
    }

    public String getServicePrices() {
        return servicePrices;
    }

    public void setServicePrices(String servicePrices) {
        this.servicePrices = servicePrices;
    }

    public String getTicketUsingType() {
        return ticketUsingType;
    }

    public void setTicketUsingType(String ticketUsingType) {
        this.ticketUsingType = ticketUsingType;
    }

    public String getOrderSource() {
        return orderSource;
    }

    public void setOrderSource(String orderSource) {
        this.orderSource = orderSource;
    }

    public String getStartType() {
        return startType;
    }

    public void setStartType(String startType) {
        this.startType = startType;
    }

    public String getHlhtOrderType() {
        return hlhtOrderType;
    }

    public void setHlhtOrderType(String hlhtOrderType) {
        this.hlhtOrderType = hlhtOrderType;
    }

    public String getHlhtOrderStatus() {
        return hlhtOrderStatus;
    }

    public void setHlhtOrderStatus(String hlhtOrderStatus) {
        this.hlhtOrderStatus = hlhtOrderStatus;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public String getLastUpdatedBy() {
        return lastUpdatedBy;
    }

    public void setLastUpdatedBy(String lastUpdatedBy) {
        this.lastUpdatedBy = lastUpdatedBy;
    }

    public Date getLastUpdatedTime() {
        return lastUpdatedTime;
    }

    public void setLastUpdatedTime(Date lastUpdatedTime) {
        this.lastUpdatedTime = lastUpdatedTime;
    }

}
